home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NT Sources
/
Infomagic - NT Source Volume 1 (Disc 1 of 2).iso
/
network
/
js15full.exe
/
G_roll.ht_
/
G_roll.ht
Wrap
Text File
|
1998-06-03
|
3KB
|
85 lines
<html>
<head><script language="JavaScript">
<!-- Hide the script from old browsers --
//======================================================
// Java Script code by Java Script It! www.computan.on.ca/~todd/JavaScriptIt!
//======================================================
var bnumb = navigator.appVersion;
var rel = bnumb.substring( 0 , 2 );
var bname = navigator.appName;
bgood=0;
test ()
function test ( ) {
if ((parseInt( rel ) >= 3.0 && bname=="Netscape") || (parseInt( rel ) >= 4.0 && bname=="Microsoft Internet Explorer"))load ( )
}
function load ( ) {
bgood=1;
xImage= new Array ( 3)for (i=0; i< 4; i++) {xImage[i] = new Image ()}xImage[0].src = "js-iconw.gif"xImage[1].src = "js-iconb.gif"xImage[2].src = "js-iconb.gif"xImage[3].src = "js-iconw.gif"}function loadimage (x,y) {
if (bgood==1)
document.images[x].src=xImage[y].src;
}
//end hide-->
</script>
<script language="JavaScript">
<!-- Hide the script from old browsers --
//======================================================
// Java Script code by Java Script It! www.computan.on.ca/~todd/JavaScriptIt!
//======================================================
var bnumb = navigator.appVersion;
var rel = bnumb.substring( 0 , 2 );
var bname = navigator.appName;
bgood=0;
test ()
function test ( ) {
if ((parseInt( rel ) >= 3.0 && bname=="Netscape") || (parseInt( rel ) >= 4.0 && bname=="Microsoft Internet Explorer"))load ( )
}
function load ( ) {
bgood=1;
xImage= new Array ( 3)for (i=0; i< 4; i++) {xImage[i] = new Image ()}xImage[0].src = "js-iconw.gif"xImage[1].src = "js-iconb.gif"xImage[2].src = "js-iconb.gif"xImage[3].src = "js-iconw.gif"}function loadimage (x,y) {
if (bgood==1)
document.images[x].src=xImage[y].src;
}
//end hide-->
</script>
<title>Graphic Rollovers</title>
</head>
<body bgColor="#FFFFFF" text="000000">
<div align=center><font size=6 font="Arial"><b>Graphic Rollovers</b></font></div><p>
Move your cursor over top of the images below to see what Graphic Rollovers can do for your webpages.<p>
<a href="g_roll.htm" onMouseOver="loadimage('0','1')" onMouseOut="loadimage('0','0')" onMouseOver="loadimage('0','1')" onMouseOut="loadimage('0','0')"><img alt="Java Script It!" src="js-iconw.gif" border=0></a>
<a href="g_roll.htm" onMouseOver="loadimage('1','3')" onMouseOut="loadimage('1','2')" onMouseOver="loadimage('1','3')" onMouseOut="loadimage('1','2')"><img alt="Java Script It!" src="js-iconb.gif" border=0></a><p>
<b>Browser Compatibility</b><br>
ò Works in Netscape Navigator 3.0 but some bugs are present<br>
ò Works fully in Netscape Navigator 4.0 and higher<br>
ò Does not work in Microsoft Internet Explorer 3.xx<br>
ò Works fully in Microsoft Internet Explorer 4.0 and higher<br>
ò No errors should occur in browsers that do not understand the Graphic Rollovers' code
</body>
</html>